<template>
  <div class="preview-wrap">
    <el-row :gutter="20" class="train_con">
      <el-col :span="10" class="train_img">
        <img src="/static/images/previewImg.jpg">
      </el-col>
      <el-col :span="14" class="train_item">
        <div class="train_title">
          <p class="train_detail_title">绿茵之星青少年足球培训<span class="train_detail_status">报名中</span></p>
          
          <p class="train_detail_tip"><i class="icon iconfont icon-iosfootball"></i>报名人数99人/不限制总人数</p>
        </div>
        <div class="train_money">
          <strong class="train_detail_money">￥2000.00</strong>
          <span class="train_detail_tip"><i class="icon iconfont icon-iosfootball"></i>包含保险</span>
        </div>
        <div class="train_duration">
          <label>课程时长：</label>
          <span class="btn btn_focus btn_sm btn_border">10课时</span>
          <span class="btn btn_return btn_sm btn_border">15课时</span>
          <span class="btn btn_return btn_sm btn_border">20课时</span>
        </div>
        <div class="train_time">
          <label>培训时间：</label>
          <span>长期课程</span>
        </div>
        <div class="train_week">
          <label>开课时段：</label>
          <span>周一至周五 18：00-20：30， 周六日 9：00- 12：00， 15：30-18：00 </span>
        </div>
        <div class="train_btn">
          <el-button type="primary">我要报名</el-button>
        </div>
      </el-col>
    </el-row>
    <div class="train_info">
      <div class="left_box">
        <heading grade="1">课程介绍</heading>
        <div class="train_item">
          <p class="train_detail_title">教学内容</p>
          <div class="train_detail_con">
            <p>
              结合中国青少年足球现状，以青少年成长教育理念为指导，通过体能测试、球性球感、速度、协调性以及团队协作能力的训练，综合提升青少年的身体力量与速度、智能与反应、意志力与责任感，让学员在运动中拥有阳光、积极、乐观的童年。</p>
          </div>
        </div>
        <div class="train_item">
          <p class="train_detail_title">精彩花絮</p>
          <div class="train_detail_con">
            <img
              src="http://192.168.10.115:5088/fv/20170612/cmsweb/article/i/58b39f29e15846438a892f8176f514b0_122x122.jpg">
            <img
              src="http://192.168.10.115:5088/fv/20170612/cmsweb/article/i/58b39f29e15846438a892f8176f514b0_122x122.jpg">
          </div>
        </div>
        <div class="train_item">
          <p class="train_detail_title">教练</p>
          <div class="train_detail_con">
            <el-row class="train_detail_list">
              <el-col :span="8">
                <div class="train_proerson_info">
                  <img
                    src="http://192.168.10.115:5088/fv/20170612/cmsweb/article/i/58b39f29e15846438a892f8176f514b0_122x122.jpg">
                  <h2>张三</h2>
                </div>
                <p>知名私人健身教练，健康顾问，模特，与朱晓辉并称为时尚界的“双辉”。自幼从父习武，成就了健康性感完</p>
              </el-col>
              <el-col :span="8">
                <div class="train_proerson_info">
                  <img
                    src="http://192.168.10.115:5088/fv/20170612/cmsweb/article/i/58b39f29e15846438a892f8176f514b0_122x122.jpg">
                  <h2>张三</h2>
                </div>
                <p>知名私人健身教练，健康顾问，模特，与朱晓辉并称为时尚界的“双辉”。自幼从父习武，成就了健康性感完</p>
              </el-col>
              <el-col :span="8">
                <div class="train_proerson_info">
                  <img
                    src="http://192.168.10.115:5088/fv/20170612/cmsweb/article/i/58b39f29e15846438a892f8176f514b0_122x122.jpg">
                  <h2>张三</h2>
                </div>
                <p>知名私人健身教练，健康顾问，模特，与朱晓辉并称为时尚界的“双辉”。自幼从父习武，成就了健康性感完</p>
              </el-col>
            </el-row>
          </div>
        </div>
      </div>
      <div class="right_box">
        <div class="train_school">
          <div class="train_school_up">
            <img
              src="http://192.168.10.115:5088/fv/20170612/cmsweb/article/i/58b39f29e15846438a892f8176f514b0_122x122.jpg">
            <p>绿茵足球学校</p>
          </div>
          <div class="train_school_con">
            <p>培训中方教练均为拥有教师资格、足球教练A-D证的国家级现</p>
          </div>
          <div class="train_school_btn">
            <el-button>联系主办方</el-button>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    mounted () {
      this.$store.commit('LAYOUT_GRID', false)
    },
    destroyed () {
      this.$store.commit('LAYOUT_GRID', true)
    }
  }
</script>

<style rel="stylesheet/scss" lang="scss">
  .preview-wrap {
    background: #ebf0f6;
  .train_con {
    overflow: hidden;
    background: white;
    margin-bottom: 20px;
    padding: 30px;
  &
  .el-row {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }
  .train_img {
  img {
    width: 100%;
    height: 100%;
    max-height: 375px;
  }
  }
  .train_item {
    width: 600px;
    float: left;
  .train_title,
  .train_money,
  .train_duration,
  .train_time,
  .train_week,
  .train_periods {
    margin-bottom: 25px;
  }
  }
  .train_title {
  .train_detail_title {
    font-size: 24px;
    color: #333333;
    float: left;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  .train_detail_status {
    display: inline-block;
    color: #fc6f00;
    font-size: 18px;
    margin-left: 20px;
  }
  .train_detail_tip {
    clear: both;
    font-size: 12px;
    color: #999999;
    line-height: 25px;
  .icon {
    font-size: 14px;
    margin-right: 10px;
  }
  }
  }
  .train_money {
  .train_detail_money {
    font-size: 30px;
    color: #fc6f00;
    font-weight: 500;
  }
  .train_detail_tip {
    font-size: 12px;
    color: #666666;
    margin-left: 20px;
  .icon {
    font-size: 12px;
    margin-right: 5px;
    color: #00bb90;
  }
  }
  }
  .train_duration,
  .train_time,
  .train_week,
  .train_periods {
  label {
    font-size: 14px;
    color: #333;
  }
  .btn {
    margin-right: 10px;
  }
  }
  }
  .train_info {
    overflow: hidden;
    margin-bottom: 20px;
  .left_box {
    width: 895px;
    float: left;
    padding: 60px;
    background: white;
  }
  .right_box {
    width: 285px;
    float: right;
    background: white;
    padding: 30px;
  }
  .train_item {
    margin-top: 30px;
    margin-bottom: 40px;
  .train_detail_title {
    font-size: 18px;
    color: #333333;
    margin-bottom: 20px;
  }
  .train_detail_con {
  p {
    font-size: 14px;
    color: #666666;
    line-height: 25px;
  }
  img {
    width: auto;
    margin-right: 10px;
    margin-bottom: 15px;
  }
  .train_detail_list {
    overflow: hidden;
  .el-col {
    float: left;
    width: 100% / 3;
    padding: 0px 20px;
  .train_proerson_info {
    text-align: center;
  img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto;
  }
  h2 {
    font-size: 18px;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
  }
  }
  p {
    color: #999999;
    font-size: 14px;
    line-height: 20px;
  }
  }
  }
  }
  }
  .train_school {
  .train_school_up {
    margin-bottom: 20px;
    overflow: hidden;
  img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    float: left;
    margin-right: 20px;
  }
  p {
    color: #333333;
    font-size: 18px;
    float: left;
    line-height: 70px;
  }
  }
  .train_school_con {
    clear: both;
  p {
    color: #333;
    font-size: 14px;
    line-height: 25px;
  }
  }
  .train_school_btn {
    text-align: center;
    margin-top: 40px;
  }
  }
  }
  }
</style>
